package com.ims.core.enums;

/**
 * 用于区分发票是红票还是蓝票的枚举类
0	红票
1	蓝票
 * @author IMS
 */
public enum IsRed {
    RED("0", "红票"),
    BLUE("1", "蓝票");

    private final String code;
    private final String name;

    IsRed(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
